<!DOCTYPE html>
<html><head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="keywords" content="jquery,ui,easy,easyui,web framekwork,ajax framekwork,ria,web development">
		<meta name="description" content="easyui help you build your web page easily!">
		<title>parser - Documentation - jQuery EasyUI</title>
        <link rel="stylesheet" href="cssandjs/main.css" type="text/css">
		<link type="text/css" rel="stylesheet" href="cssandjs/SyntaxHighlighter.css">
		<script src="cssandjs/shCore.js"></script>
		<script src="cssandjs/shBrushJScript.js"></script>
		<script src="cssandjs/shBrushXml.js"></script>
	</head>
	<body>
		<div id="header">
						<div id="header-inner">
				<table style="width: 100%;" cellpadding="0" cellspacing="0">
					<tbody><tr>
						<td rowspan="2" style="width: 20px;">
						</td>
						<td style="height: 52px;">
							<div style="color:#fff;font-size:22px;font-weight:bold;">
								<a href="http://www.jeasyui.com/index.php" style="color: rgb(255, 255, 255); font-size: 22px; font-weight: bold; text-decoration: none;">jQuery EasyUI</a>
							</div>
							<div style="color:#fff">
								<a href="http://www.jeasyui.com/index.php" style="color: rgb(255, 255, 255); text-decoration: none;">easyui help you build your web page easily!</a>
							</div>
						</td>
						<td style="padding-right: 5px; text-align: right; vertical-align: bottom;">
							<div id="topmenu">
								<a href="http://www.jeasyui.com/index.php">Home</a>
								<a href="http://www.jeasyui.com/demo/index.php">Demo</a>
								<a href="http://www.jeasyui.com/tutorial/index.php">Tutorial</a>
								<a href="http://www.jeasyui.com/documentation/index.php">Documentation</a>
								<a href="http://www.jeasyui.com/download/index.php">Download</a>
								<a href="http://www.jeasyui.com/extension/index.php">Extension</a>
								<a href="http://www.jeasyui.com/contact.php">Contact</a>
								<a href="http://www.jeasyui.com/forum/index.php">Forum</a>
							</div>
						</td>
					</tr>
				</tbody></table>
			</div>
			
		</div>
		<div id="mainwrap">
			<div id="content">
			

<div style="padding:10px">

<h3>Parser</h3>
<h4>Usage</h4>
<div class="dp-highlighter"><div class="bar"><div class="tools"></div></div><ol class="dp-c" start="1"><li class="alt"><span><span>$.parser.parse();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="comment">//&nbsp;parse&nbsp;all&nbsp;the&nbsp;page</span><span>&nbsp;&nbsp;</span></span></li><li class=""><span>$.parser.parse(<span class="string">'#cc'</span><span>);&nbsp;&nbsp;</span><span class="comment">//&nbsp;parse&nbsp;the&nbsp;specified&nbsp;node</span><span>&nbsp;&nbsp;</span></span></li></ol></div><pre style="display: none;" name="code-parser" class="JScript">	$.parser.parse();		// parse all the page
	$.parser.parse('#cc');	// parse the specified node
</pre>

<h4>Properties</h4>
<table class="doc-table">
<tbody><tr>
<th><strong>Name</strong></th>
<th><strong>Type</strong></th>
<th><strong>Description</strong></th>

<th><strong>Default</strong></th>
</tr>
<tr>
<td>$.parser.auto</td>
<td>boolean</td>
<td>Defines if to auto parse the easyui component.</td>
<td>true</td>
</tr>
</tbody></table>

<h4>Events</h4>
<table class="doc-table">
<tbody><tr>
<th><strong>Name</strong></th>
<th><strong>Parameters</strong></th>
<th><strong>Description</strong></th>
</tr>
<tr>
<td>$.parser.onComplete</td>

<td>context</td>
<td>Fires when parser finishing its parse action.</td>
</tr>
</tbody></table>

<h4>Methods</h4>
<table class="doc-table">
<tbody><tr>
<th><strong>Name</strong></th>

<th><strong>Parameter</strong></th>
<th><strong>Description</strong></th>
</tr>
<tr>
<td>$.parser.parse</td>
<td>context</td>
<td>Parse the easyui component.</td>
</tr>
</tbody></table>

</div>

﻿			</div>
		</div>
		<div id="footer">
			<div>Copyright © 2010-2011 www.jeasyui.com</div>
		</div>
		<script type="text/javascript">
						dp.SyntaxHighlighter.ClipboardSwf = '/SyntaxHighlighter/Scripts/clipboard.swf';
			dp.SyntaxHighlighter.HighlightAll('code-parser');
		</script>
	
</body></html>